From c7280e4a316c93163e75b906764ae3a1d07f217b Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Wed, 9 Dec 2015 12:55:39 +0100 Subject: [PATCH] wayland: Replace deprecated functions We can just gdk_seat_ungrab() here. https://bugzilla.gnome.org/show_bug.cgi?id=759309 --- gdk/wayland/gdkwindow-wayland.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c index 9354c0d350..0c56c2e5df 100644 --- a/gdk/wayland/gdkwindow-wayland.c +++ b/gdk/wayland/gdkwindow-wayland.c @@ -2224,7 +2224,7 @@ gdk_wayland_window_begin_resize_drag (GdkWindow *window, /* This is needed since Wayland will absorb all the pointer events after the * above function - FIXME: Is this always safe..? */ - gdk_device_ungrab (device, timestamp); + gdk_seat_ungrab (gdk_device_get_seat (device)); } static void @@ -2259,7 +2259,7 @@ gdk_wayland_window_begin_move_drag (GdkWindow *window, /* This is needed since Wayland will absorb all the pointer events after the * above function - FIXME: Is this always safe..? */ - gdk_device_ungrab (device, timestamp); + gdk_seat_ungrab (gdk_device_get_seat (device)); } static void -- 2.30.2